<?php

$filename = "zip.deflate";
$content = file_get_contents( $filename );
$plain = gzuncompress( $content );
echo "decompress DEFLATE with gzuncompress() : ",$plain,"\n";

$filename = "zip.raw";
$content = file_get_contents( $filename );
$plain = gzinflate( $content );
echo "decompress RAW with gzinflate() : ",$plain,"\n";

$filename = "zip.gzip";
$content = file_get_contents( $filename );
$plain = gzdecode( $content );
echo "decompress GZIP with gzinflate() : ",$plain,"\n";

